@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <div class="row">
                <div class="col-sm-6 b-r">
                            <#input id="id" name="订单id" value="${item.id}" underline="true"/>
                            <#input id="sumprice" name="单价" value="${item.sumprice}" underline="true"/>
                            <#input id="adddate" name="添加日期" value="${item.adddate}" dateFormat ="yyyy-MM-dd HH:mm:ss" underline="true"/>
                            <input type="hidden" id="stateValue" value="${item.state}" />
                            <#select id="state" name="订单状态" underline="true">
                                <option value="64">待付款</option>
                                <option value="65">待发货</option>
                                <option value="66">待收货</option>
                                <option value="67">待评价</option>
                                <option value="68">已关闭</option>
                            </#select>
                </div>

                <div class="col-sm-6">
                            <#input id="userid" name="用户id" value="${item.userid}" underline="true"/>
                            <#input id="remindnum" name="提醒发货次数" value="${item.remindnum}"/>
                            <#textarea id="comment" name="评论" rows="5" value="${item.comment}"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="OrderInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="OrderInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/mall/order/sys_order_info.js"></script>
<script type="text/javascript">
    laydate.render({
        elem: '#adddate',
        type:'datetime',
        trigger:'click'
    });
    isEvaluate = false;
</script>
@}
